
// 症状替换

export default {
	sid:function(item){
		switch (item.id) {
			case 'SM003':
				item = Object.assign(item, {
					name: "僵直"
				})
				break;
			case 'SM017':
				item = Object.assign(item, {
					name: "迟缓"
				})
				break;
			case 'SM018':
				item = Object.assign(item, {
					name: "震颤"
				})
				break;
			case 'SM013':
				item = Object.assign(item, {
					name: "步态异常"
				})
				break;
			case 'SM014':
				item = Object.assign(item, {
					name: "启动困难"
				})
				break;
			case 'SM015':
				item = Object.assign(item, {
					name: "平衡障碍"
				})
				break;
			case 'SM022':
				item = Object.assign(item, {
					name: "异动"
				})
				break;
			case 'SM023':
				item = Object.assign(item, {
					name: "无力"
				})
				break;
			case 'SM024':
				item = Object.assign(item, {
					name: "麻木"
				})
				break;
			default:
				break;
		}
	},
	severity:function(item){
		switch (item.severity) {
			case 0:
				item = Object.assign(item, {
					sname: ""
				})
				break;
			case 1:
				item = Object.assign(item, {
					sname: "轻度"
				})
				break;
			case 2:
				item = Object.assign(item, {
					sname: "中度"
				})
				break;
			case 3:
				item = Object.assign(item, {
					sname: "重度"
				})
				break;
			case 4:
				item = Object.assign(item, {
					sname: "无法忍受"
				})
				break;
			default:
				break;
		}
	}
}